package com.project.mapper;

import com.project.model.entity.SubSystem;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SubSystemMapper {
    void insertSubSystem(SubSystem subSystem);

    void deleteSubSystemById(Integer id);

    void updateSubSystem(SubSystem subSystem);

    SubSystem selectSubSystemById(Integer id);

    List<SubSystem> selectAllSubSystems();

    List<SubSystem> selectSubSystemsByReportId(Integer reportId);
}

